<template>
  <div id="app">
    <router-view/>
      name:
        <h1>{{add}}</h1>
  </div>
</template>

<script>
export default {
  name: 'App',
  computed:{
    add(){
      return this.$store.state.name
    }
  },
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
}
</style>
